//
//  NIDatePickerCustomView.h
//  AIWAYS
//
//  Created by Marx on 2018/8/30.
//  Copyright © 2018年 wlq. All rights reserved.
//

#import <UIKit/UIKit.h>


@protocol NIDatePickerCustomViewDelegate <NSObject>
/**
 选择时间后回调
 
 @param date 选中的时间
 */
- (void)dateDidSelected:(NSDate *)date;

@end

@interface NIDatePickerCustomView : UIView
@property(nonatomic,assign)id<NIDatePickerCustomViewDelegate> delegate;

- (void)show;
- (void)close;
-(void)setCenterDate:(NSDate *)date;
@end
